<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<ui:composition>
	<h:form>
		<div style="display: table;">
			<div align="left"
				style="padding-top: 20px; padding-left: 15px; display: table-cell;">
				<h:outputLink value="perfil.jsf?user=#{sessaoBean.usuario.id}">
					<p:graphicImage id="foto" height="50"
						url="/resources/img/rosto.jpg" />
				</h:outputLink>
			</div>
			<div
				style="display: table-cell; padding-top: 20px; padding-left: 10px; vertical-align: top;">
				<h:outputLink styleClass="labelPequeno"
					style="text-decoration: none;"
					value="perfil.jsf?user=#{sessaoBean.usuario.id}">
					<b>#{sessaoBean.usuario.nome}</b>
				</h:outputLink>
				<br/>
				<h:outputLink styleClass="labelPequeno"
					style="text-decoration: none;">
					Editar meu perfil
				</h:outputLink>
			</div>
		</div>
		<br />
		<p:commandButton style="width: 100%; border: none;" value="Meu perfil" />
		<p:commandButton style="width: 100%; border: none;" value="Pesquisar" />
		<p:separator />

		<p:commandButton style="width: 100%; border: none;" value="Sair"
			action="#{sessaoBean.logout}" />
	</h:form>
</ui:composition>
</html>